#ifndef _SERVO_EXT_H_
#define _SERVO_EXT_H_

#include <Arduino.h>
//#include <Servo.h>
#include "Servo2.h"

class ServoExt {

  private:
      Servo2 *myServos[16];
      int myServosBase[16];
//    byte ServoPin;
//    uint8_t ServoBaseDegree;
  public :
    // ServoExt();
    // ~ServoExt();
	  void ServoPIN(byte servo_pin);
    void ServoPIN(byte servo_pin, int base);
    void SetServoDegree(byte servo_pin, int degree);
    void SetServoDegree(byte servo_pin, int degree, int delaySeconds);
    void detach();
    void detach(int delaySeconds);
};

#endif
